﻿using System;

namespace DflyingForum.Core.Data.Domain.ValueObjects
{
    /// <summary>
    /// 性别枚举 0->男,1->女
    /// </summary>
    public enum Gender
    {
        Male = 0, Female = 1
    }

    /// <summary>
    /// 用户状态的枚举
    /// </summary>
    public enum EnumUserState
    {
        Disabled = 0,//禁用
        Enabled = 1,//有效
        Online = 2,//在线
    }

    /// <summary>
    /// 单元权限的枚举值
    /// </summary>
    public enum EnumUnitRight
    {
        Insert,
        Update,
        Delete,
        Select
    }

    /// <summary>
    /// 帖子状态枚举
    /// </summary>
    public enum EnumPostState
    {
        /// <summary>
        /// 删除的 -20
        /// </summary>
        Deleted = -20,

        /// <summary>
        /// 锁定 -15
        /// </summary>
        Lock = -15,

        /// <summary>
        /// 审核未通过 -10
        /// </summary>
        RefusedApprove = -10,

        /// <summary>
        /// 审核中 -5
        /// </summary>
        BeApproved = -5,

        /// <summary>
        /// 默认的已发布(审核通过) 0
        /// </summary>
        Publish = 0,

        /// <summary>
        /// 自荐精华 5
        /// </summary>
        BeingExcellent = 5,

        /// <summary>
        /// 版主推荐 15
        /// </summary>
        Recommendation = 15,

        /// <summary>
        /// 精华 20
        /// </summary>
        Excellent = 20
    }
}
